<<<<<<< .mine
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using DTO;
using BUS;
namespace UserControlLibrary
{
    public partial class UserControlTraCuuSach : UserControl
    {
        public UserControlTraCuuSach()
        {
            InitializeComponent();
        }


        private void UserControlTraCuuSach_Load(object sender, EventArgs e)
        {
            TheLoaiSachBUS tlBus = new TheLoaiSachBUS();
            cbxTheLoai.DataSource = tlBus.LayDanhSachTheLoai();
            cbxTheLoai.DisplayMember = "TenTheLoai";
            cbxTheLoai.ValueMember = "MaTheLoai";
        }

        private void btnXoa_Click(object sender, EventArgs e)
        {
            txtMaSach.Text = "";
            txtTacGia.Text = "";
            txtNhaXuatBan.Text = "";
            txtNamXuatBan.Text = "";
            txtTenSach.Text = "";
        }

      
    }
}
=======
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace UserControlLibrary
{
    public partial class UserControlTraCuuSach : UserControl
    {
        public UserControlTraCuuSach()
        {
            InitializeComponent();
        }

        private void btnThoat_Click(object sender, EventArgs e)
        {
            Close();
        }

      
    }
}
>>>>>>> .r6
